<?php

namespace app\admin\model\operation;

use app\common\model\TimeModel;

/**
 * @property int $id id 
 * @property \app\admin\model\operation\OperationNotice $operationNotice 公告
 * @property \app\admin\model\user\User $user 用户
 * @property int $create_time 创建时间 
 */
class OperationNoticeRead extends TimeModel
{

    protected $name = "operation_notice_read";

    protected $deleteTime = false;

    
    
    
    public function operationNotice()
    {
        return $this->belongsTo('\app\admin\model\operation\OperationNotice', 'notice_id', 'id');
    }

    public function user()
    {
        return $this->belongsTo('\app\admin\model\user\User', 'user_id', 'id');
    }


}